fixup! Accounting: Fix bug with closing period when all accounts have 0 balance

The assertion was not correct when account_type/expense & account_type/income
have child categories
Matrixbox: do not leave garbage in REQUEST['cell']