Fix to apply to new behavior of foldersel_set_tree. See 247a452