Balances in the payables ledger will normally be credit balances. However there might be a debit balance (because maybe we had overpaid, or maybe we had returned goods that we had already paid for). So that is not a mistake.
What is a mistake is that listing it as if it was a credit balance increases the total of the list, whereas since it was a debit balance it should have reduced the total of the list.