Fixes bug with getNodeFromXPath and document root