Fix cache expiration.