Fix a bug with is_cached in RedisCache