Set the original query for results in QueryCacher