Fix checkAllBox edgecase

- After checkAll and unchecking one, checkAllBox correctly gets unchecked