Fix user search bug