fix(db clean): optimise calls to identify overwritten data to delete
fix(db clean): optimise calls to identify overwritten data to delete

pact-foundation/pact_broker,pact-foundation/pact_broker,pact-foundation/pact_broker,pact-foundation/pact_broker