fixed case of unmasked data in labeled_clusters, for which mask is scalar