jOOX will add [1] even if there is only a single element. For example for a HTML document it will start /html[1]/body[1] even though conventionally we only expect one html and one body element. Adding a check to omit the sibiling specifier if there is only a single sibling, and updating the unit tests accordingly