Fix comparison used to determine if the cache is outdated.