Fixed problem when fetching Related fields in the EntityMapper