Fix the cache clear so as to actually clear the correct cache.