Fixed an issue for search.