Minor bugfix for Clustering.