Supplier Disputed

The disputed flag shows incorrectly as disputed when it has been removed on supplier invoices.

The tag is supposed to be removed from supplier invoices once they are paid however, this does not appear to be the case in my data. I have the same error on a number of my suppliers - ie, they are showing as having a dispute even though the invoice is paid in full. In some instances, I have no invoices outstanding, but still it shows a dispute on the suppliers screen. I have tried following the steps in file maintenance, "re-index and compress all", "recalculate transaction history" and "recalculate period values" that are shown, however, the issue is still there.

Can anyone advise on how I can correct this so that the dispute flag can be relied upon and shows the correct details?