Fix bug in "Search"