Added getConnectedEntities for reverse lookup support on connections