Fix to FileTreeComponent not using the top-level file/dir selection flags for subtrees.