Filter - selection of Entity doesn't work for keyValueCollection

I have a list view with the following query and filter setting

 <data readOnly="true">
        <keyValueCollection id="materialBalancesDc">
            <loader  id="materialBalancesDl">
                <query>
                    <![CDATA[select m.material, m.company, m.plant, SUM(m.quantityOnHand)
                    from ops_MaterialBalance m
                    group by m.material, m.company, m.plant]]>
                </query>
            </loader>
            <properties>
                <property name="material" datatype="uri"/>
                <property name="company" datatype="uuid"/>
                <property name="plant" datatype="uuid"/>
                <property name="quantityOnHand" datatype="double"/>
            </properties>
        </keyValueCollection>

    </data>
    <facets>
        <dataLoadCoordinator auto="true"/>
        <urlQueryParameters>
            <genericFilter component="genericFilter"/>
            <pagination component="pagination"/>
        </urlQueryParameters>
    </facets>
    <actions>
        <action id="selectAction" type="lookup_select"/>
        <action id="discardAction" type="lookup_discard"/>
    </actions>
    <layout>
        <genericFilter id="genericFilter"
                       dataLoader="materialBalancesDl">
            <properties include=".*"/>
        </genericFilter>

When I create filter, the option filter by material entity shows as text field, not as entityCombo or entityPicker:

image

image