Modified after hook to only write pacts when one or more 'pact => true' examples have run