Fixing user group search functioning