Fixed infinite recursion.

Loading folders still doesn't create tree structure.