Auto-deselect child categories

Automatically deselects all child categories when a parent is
deselected.