Sales Invoice status Overdue with Due amount 0 after Payment Reconciliation

A Sales Invoice that was Overdue was payed against Payment Entries via Payment Reconciliation for the full Due Amount.

The effective Due Amount is 0, but the Status of the Sales Invoice is still Overdue.

ERPNext: v12.8.0 (version-12)

Frappe Framework: v12.5.2 (version-12)