Fixed User Edit bug with invitations