TMDM-7455: "Cannot search FK Record when having FK contains other FK"

Revert for alternative in implementation.
TMDM-7455: "Cannot search FK Record when having FK contains other FK"

Alternative for implementation of fix: reuses isAssignable(...) method to check if value is assignable for field when using contains.