Fix leaf node folder checkboxes showing.