Fixed a minor problem with the search feature.