Bug fix for gnarly element-in-chunk XPath.