[PLAT-3349] Fix Ehcache indexed query's version/correction range
(should be  version <  VersionToInstant and correction <  CorrectionToInstant
rather than version <= VersionToInstant and correction <= CorrectionToInstant)