Fix the logic on showing the upgrade and downgrade links to match what the controller will allow.