More attempts to fix unique_rows with old numpy.