Ensure unique_rows output is digestible by np.bincount