Upgrading WordPress Issues

Upgrading WordPress has munged all of my categories and looks like it might take a while to sort out. I may need to reverse-engineer each and every post in the database. Sounds like time I already don't have to waste on such a silly problem.