`aggregate_cells` fails if rownames are duplicated. We need to add a check to avoid catastrophic failure.