[HW]
-- fixed repository to only return distinct team nodes in db