Moved the removing of expired keys from the hasExpired checking function. It should be side effect free.
Moved the removing of expired keys from
the hasExpired checking function. It
should be side effect free.

/ht @mmcnickle

d0ugal-archive/locache,d0ugal-archive/locache