Fixing issue with clearing out the interactions in the pact object