setQueryParams should also drop the query, close #696