No matter how well you plan
No matter how careful you think you've been
And no matter how many checks and cross checks you do
sometimes things go wrong
As the saying goes - shit happens
The real secret is to embrace the fact that it's real, recognise that it is happening and be pro-active in sorting out the mess.
The only driver should be to resolve the dispute, so that you can get back to doing what you do best.
A negotiated outcome is preferable for all concerned.
How to achieve that is a matter of choosing the right forum and vehicle.
This is what we do when it comes to this area of the law.