Properly support transaction refunds