A duplicate deposit occurs when you've selected a bank account as the Category while creating your expense, Jble0802.
Let's say when you created an expense, you selected Bank 1 as the Payment account and set Bank 2 as the Category. This processes the transaction as a deposit in the bank register for the selected account.
See the screenshots below for your visual reference of the scenario:


To isolate this issue, kindly review the expense transaction and select the correct expense category instead of the bank account for recording the transaction. This will help prevent duplication in your account register.
This thread remains open for additional inquiries you have.