Fix XPath

Prevent "SyntaxError: indices in path predicates are 1-based, not 0-based".
Merge pull request #1 from stefanw/patch-1

Fix XPath