[Tree] Fix getting root nodes for materializedd path if 'path_starts_with_separator'
  or 'path_ends_with_separator' are changed against default
Merge pull request #810 from Mordred/mp_separators

[Tree] Fix getting root nodes for materialized path