Fixed the duplicate member invitations on the UI