Avoiding primary key collision when auditing matrix runs