Fixed the duplicate team member issue

Fixed the duplicate team member issue (While editing the team name)