[api] Bugfix in webui owner search when a group is involved

Fixes the User::NotFound error than Errbit is reporting in production