Don't create refunds for payments with negative amounts
Fixes #5257