Fixed the query string to not reset if the search is not cleared.