Add the option to uncheck ancestors when all their descendants are unchecked.