fix refund reports, RT#22004, RT#940
Merge branch 'master' of git.freeside.biz:/home/git/freeside