Fix refund qty amounts

Fixes #6186