Added comments to DetermineUpgradeDowngradeStatus.