Changed process_searchusers to cater for arrays in usergroup