fix double insert of overpayments, RT#12655