Steps to reproduce
- Login as Administrator.
- Go to Users.
- On left panel, delete a group.
- In user list, when you try to change the user group, you can add the deleted group.
- Errors appears but you see the deleted group as marked.
Expected behaviour
When a group is deleted, the list of groups in user list should be refreshed.
Actual behaviour
When you delete one group, the list of groups in user list doesn't refresh and admin can mark deleted group in user and get errors.

Server configuration.
Nextcloud version: 12
Steps to reproduce
Expected behaviour
When a group is deleted, the list of groups in user list should be refreshed.
Actual behaviour
When you delete one group, the list of groups in user list doesn't refresh and admin can mark deleted group in user and get errors.
Server configuration.
Nextcloud version: 12