Index: /applications/editors/josm/plugins/reverter/build.xml
===================================================================
--- /applications/editors/josm/plugins/reverter/build.xml	(revision 35845)
+++ /applications/editors/josm/plugins/reverter/build.xml	(revision 35846)
@@ -4,5 +4,5 @@
     <property name="commit.message" value="Reverter: fix deleted/redacted relation members"/>
     <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
-    <property name="plugin.main.version" value="17717"/>
+    <property name="plugin.main.version" value="18173"/>
 
     <!-- Configure these properties (replace "..." accordingly).
Index: /applications/editors/josm/plugins/reverter/src/reverter/ChangesetIdQuery.java
===================================================================
--- /applications/editors/josm/plugins/reverter/src/reverter/ChangesetIdQuery.java	(revision 35845)
+++ /applications/editors/josm/plugins/reverter/src/reverter/ChangesetIdQuery.java	(revision 35846)
@@ -10,7 +10,4 @@
 import java.awt.event.WindowEvent;
 import java.util.Collection;
-import java.util.Collections;
-import java.util.LinkedList;
-import java.util.List;
 
 import javax.swing.ButtonGroup;
@@ -158,9 +155,5 @@
      */
     protected void restoreChangesetsHistory(HistoryComboBox cbHistory) {
-        List<String> cmtHistory = new LinkedList<>(
-                Config.getPref().getList(getClass().getName() + ".changesetsHistory", new LinkedList<String>()));
-        // we have to reverse the history, because ComboBoxHistory will reverse it again in addElement()
-        Collections.reverse(cmtHistory);
-        cbHistory.setPossibleItems(cmtHistory);
+        cbHistory.getModel().prefs().load(getClass().getName() + ".changesetsHistory");
     }
 
@@ -171,5 +164,5 @@
     protected void remindChangesetsHistory(HistoryComboBox cbHistory) {
         cbHistory.addCurrentItemToHistory();
-        Config.getPref().putList(getClass().getName() + ".changesetsHistory", cbHistory.getHistory());
+        cbHistory.getModel().prefs().save(getClass().getName() + ".changesetsHistory");
     }
 
Index: /applications/editors/josm/plugins/reverter/src/reverter/ChangesetIdsTextField.java
===================================================================
--- /applications/editors/josm/plugins/reverter/src/reverter/ChangesetIdsTextField.java	(revision 35845)
+++ /applications/editors/josm/plugins/reverter/src/reverter/ChangesetIdsTextField.java	(revision 35846)
@@ -36,4 +36,5 @@
 
     /**
+     * Return sorted changeset IDs (highest ID first).
      * @return sorted changeset IDs (highest ID first)
      */
Index: /applications/editors/josm/plugins/reverter/src/reverter/ChangesetReverter.java
===================================================================
--- /applications/editors/josm/plugins/reverter/src/reverter/ChangesetReverter.java	(revision 35845)
+++ /applications/editors/josm/plugins/reverter/src/reverter/ChangesetReverter.java	(revision 35846)
@@ -512,5 +512,5 @@
                             if (!history.isEmpty()) {
                                 Node historyNode = (Node) history.allPrimitives().iterator().next();
-                                if (historyNode.isLatLonKnown() && changeset.getClosedAt().toEpochMilli() > historyNode.getTimestamp().getTime()) {
+                                if (historyNode.isLatLonKnown() && changeset.getClosedAt().isAfter(historyNode.getInstant())) {
                                     n.load(historyNode.save());
                                     break;
