k-means NaN when cluster is not assigned any row: HEX-1249, HEX-1501