Correct the behavior of checkAll items