Fixes GetDebitAmount to fail on nonpositive numbers