Make sure an upgrade is required before upgrading