BUG: coupon expiry checks were based on 'today', and 'yesterday', rather than 'now'.