Fixed cache generation of clusters.