Updated XPath join optimization to be able to join adjacent mergable XSLs