Only execute one delete statement per inserted table
Only execute one delete statement per inserted table

The aggregated data helper was executing a delete statement for each inserted
record in the inserts array.

This update will group together the deletions by table and run one command per
table passing in an array of IDs to delete.

ministryofjustice/wmt-web,ministryofjustice/wmt-web