The kids will have been adopted. So who Ted marries is irrelevant. That will be the twist in the last episode and everyone will be pissed.
“You think Denver has the greatest fans? Well, they aren’t.” -- Jake Plummer
Don't believe me? http://deadspin.com/sports/nfl/plummer-asks-the-world-who-wants-some-131609.php