Fix for /text() in XPath