Also remove visible condition, it makes it impossible to remove the search query if no results are found.