[tree] use root entity name for materialized path children query #693