TMDM-7452: "tMDMInput search with FK field throws exception"

Fix incorrect FK list load behavior when following conditions are met:
    * Entity type is a "flat" mapping (i.e. all XML levels of entity fields are flatten in a table - not counting collections mapped in reverse - ).
    * Query retrieves the whole entity (no projection or select of entity field).
    * Entity uses a FK field with isMany=true (multi-valued element).
    * Condition is on multi-valued FK field AND match is not on the first occurrence.
(cherry picked from commit 9fe70a4)