Bank ID (Changing of)

We have had a couple of recent ‘Incidents’ where our Finance Team have reported Supplier payments going to the incorrect Supplier Bank. When i have looked into this, it would seen that the Primary Bank has been changed since the invoice that was paid had been raised. My understanding is that when the invoice is raised it pull the Bank Remittance details through and when the payment is raised it pays that bank account. Is that correct, i have looked in the DB and it seems that way but is that the correct system behaviour and if so, how do your Finance Teams handle changing Primary Banks on suppliers that may already have invoices pending payment?