[finish #41728031] Set the query back to the initial query before rendering the page on clicking cancel