How would you handle a situation where your primary keys in a dataset are duplicated due to a system error?