fix up application of things to refunds, RT#3606/RT#3545