Fix the upgrade path.