ISPN-4524 Query should not reindex cache entries on preload or activation
Fix test to write from cache 0