Selecting all elements via XPath no longer mistakenly includes the root ...

...<hierarchy> node, which was causing appium to error. Fixes #2548

@bootstraponline for review.