Bug fixing: local cluster centroids when no fields in input_data