HomePhabricator

Fix the exception that is thrown when document is passed as a start parameter…

Authored by Inez.

Description

Fix the exception that is thrown when document is passed as a start parameter to traverseLeafNodes method.

Change-Id: Ie8c5a0fd9ad8e003fef706fdf61749499ad27e31