fixing parentNodes checkboxes (depending of children state)