Fixed an issue with updating tree that has a RowSorter