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