copy paste bug in getManyRelation. joinLeg.expand was missing