Fixing bug in user searching.