Fixes entity manager returning incorrect entities with the same name. Instead, it iterates through entities it owns, instead of metadata. More efficient anyways.