When making an account inactive in your Chart of Accounts, it does not delete the transactions within. You must remove the transactions from within these accounts to prevent their figures from showing on your reports. I've included the steps for re-activating the inactive accounts below so that you can remove those transactions. Take a look:
Click Accounting on the left navigation menu and choose Chart of Accounts.
Select the small Gear icon above the Action column and choose Include inactive.