Adjusted the form_alter logic in upsell