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

https://jira.exoplatform.org/browse/KER-293