Fixes a cache bug where TTL is not updated while a value isn't changing or cache entry is returning fetch errors.