#984358 by dalin, David_Rothstein: Fixed Upgrade from 6.x to 7.x always pulls your site out of maintenance mode immediately