Fix for issue: Discount code which is only set to apply to certain priceset options for events, is being applied to everything in the event.