Fixed an issue where the defaults set would crash the treeselect.