Yet another tweak to unique_rows.