Fix XPath predicate.