Fix XPath expression for multiple endEvent