Fixing bug in user search.