revert set query cache only when query have filter