private static void fixRange(List<Object> paragraphs, String startElement,
String endElement) throws Exception {
RangeFinder rt = new RangeFinder(startElement, endElement);
new TraversalUtil(paragraphs, rt);
for (CTBookmark bm : rt.getStarts()) {
try {
// Can't just remove the object from the parent,
// since in the parent, it may be wrapped in a JAXBElement