Fix never-refreshing caching bug