HOTFIX: Fix bug with context in getTreeChildren