Otherwise, the search term will linger around until somebody clicks the search button again. Fixes: #2981