Clean cache when dataset is changed