Add clear query to QueryTool