Inviting users with groups field failed when there is an existing user in the list

This feature was reverted as part of a security fix: