Fix bug that causes _treeList to only return last directory entry