Fixed fromDocument usage in .cms-tree

See https://github.com/silverstripe/silverstripe-cms/pull/823