If you have a duplicate supplier in your list you first need to make sure that there are no more invoices linked to the second one.
You can do this by opening each of the invoices linked to the duplicate supplier and selecting the correct one. When all of them are correctly linked, you can remove the duplicate from your list.