swingTraderManager.getTokenBalances doesnt check if swingTrader is active and adds balances regardless of the active status.
But in buyMalt and sellMalt, they only account for balances of active swing traders. This mismatch might cause wrong calculations where getTokenBalances are used.
