Fix recording of refunds

Merged mattwire requested to merge fixrefunds into master

Merge request reports