KER-293: Cache misses should not be incremented only when the entry has expired