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 9fe70a4f9e13f1a876a5a62331abab248836f030)
(cherry picked from commit 0268a9d3480a8bdc6773326c858681e84961dadb)