FIX: set `null` to group if `groupAttrs` param is not available. (PR #14795)

Because of this bug “all groups” option in the group selector dropdown was not selectable on the user directory page.

GitHub

This pull request has been mentioned on Discourse Meta. There might be relevant details there:

Tip you can do groupAttrs?.id