Fix persister query cache invalidation