Minor fixes in the main page search.