Debit note applied still shows current balance

In A/R Document inquiry, client has an invoice with a credit note and debit note both applied to it, but the current balance shows the value of the debit note instead of zero. 

The credit was for more than the original document, resulting in a credit balance and the debit cleared the credit balance.

Original document: 4651.63

Credit Note: 4652.10

Debit Note: 0.47