Hello Michele ....
If you MUST think of it as a wasted two years, you should be feeling pretty good that it was just two years.
When my D-day came, it was just over 23-years!
Everything will work out fine in court. Don't worry about the paperwork. It's likely to be a day of mixed blessings - but as you said, you're confident you are doing the right thing. That's what matters ... to move ahead!
I think you're attitude the past few months proves you're doing the right thing!
Peace and wellness
Rob & Gizmo