Made the search box not appear if there's no search route.