Fixed incorrect results when user search is left blank.