fix partial select issue in tree

happens when using extendedSelect