Ensure that there are no duplicates in the rows.