fix unapplied payment report, RT#73048, fallout from #25944