Added method to find distinct pacts between a consumer and provider