Fix removing groups from accounts.