Fix XPath

Prevent "SyntaxError: indices in path predicates are 1-based, not 0-based".

Can't vouch for functionality, but this makes it work.