team_membership pairs uniqueness validation