Fixes a bug where tree would not expand correctly when 'Group checkboxes' are configured off