Fix of a query against the cache