Falha ao convidar usuários com campo de grupos quando já existe um usuário na lista

This used to happen before the security fix as per this line of code.

I wouldn’t revert this code before discussing with @tgxworld and he is away for the week.