Fix issue where parent caches need to be cleared if the current cache is cleared.