Invoice Balance is doubled in Apply Debit Memo / Prepayment

Hi All,

My finance user got this issue when trying to Apply Debit Memo to an Invoice. But the invoice balance to be applied for is twice the invoice amount.

Has anyone encountered this before? Any comments and suggestions will be appreciated.