Fix blank search bug.