Fixed the issue with expanding/collapsing a node in a tree view (closes #318).