Fixed a search bug.