Fix for head-to-head upgrades.