Valid discount code passed as a query parameter to checkout isn't being added to order

We need this fixed ASAP as our bundle app does not work without it! Very bad timing for this issue!