Fixing a search bug.