Bug fix.

Check whether the selected indices in a side tree view is null.