Fixed problem with query and indexing of an entity parent properties. Test is green now