Compare document generates incorrect output using Java

How reproduce: make the change at the end of the paragraph. In following the current one, make changes at the beginning. After the comparison, an additional paragraph is created with both changes.
http://joxi.ru/n2YRRaPFblYbgA
code:

Document doc = new Document("..\\1.docx");
Document doc2 = new Document("..\\2.docx");
doc.acceptAllRevisions();
doc2.acceptAllRevisions();
doc.compare(doc2, "3", new Date());
doc.save("..\\out.docx");
doc.save("..\\out.html", htmlSaveOptions);

bug.zip (257.9 KB)

@vhostt

We have tested the scenario and have managed to reproduce the same issue at our side. For the sake of correction, we have logged this problem in our issue tracking system as WORDSNET-21033 . You will be notified via this forum thread once this issue is resolved.

We apologize for your inconvenience.

The issues you have found earlier (filed as WORDSNET-21033) have been fixed in this Aspose.Words for Java 22.3 update.