Dear Colson,
Older versions of the Accounts Payable program did function the way you describe.
The program was changed so that in the circumstances you describe the accounts would not be cleared.
What version are you running? The current version retains the account information in such a case.