Potential for Duplicate Payments

I had a situation where an invoice was suggested for payment, and exported to my EFT file for transmission to the bank. I was waiting on approvals, so had not transmitted to the bank or posted yet. In the meantime someone else selected the same invoice for payment and issued a check. I then transmitted the eft file to the bank and paid the invoice electronically.

Does anyone know if it possible to prevent an invoice from being selected for payment if it is already in another batch waiting for payment?

Thank you