Fix developer notices on search and 404 page.