Fixed a bug where deposits and withdrawals might show the wrong accounts when editing.