Fixes an infinite loop when checking out an event registration (regression bug) and now prints correct line total on invoice for discounts (early/multiple registration)