Fix an issue in the sequence steps of the upgrade script.