Index: /applications/editors/josm/plugins/undelete/src/org/openstreetmap/josm/plugins/undelete/Undelete.java
===================================================================
--- /applications/editors/josm/plugins/undelete/src/org/openstreetmap/josm/plugins/undelete/Undelete.java	(revision 28500)
+++ /applications/editors/josm/plugins/undelete/src/org/openstreetmap/josm/plugins/undelete/Undelete.java	(revision 28501)
@@ -177,10 +177,10 @@
                   if (type.equals(OsmPrimitiveType.NODE))
                   {
-                    // We get all info from the latest version
-                    hPrimitive2=hPrimitive1;
+                    // We get version and user from the latest version, coordinates and tags from n-1 version
+                    hPrimitive2=h.getByVersion(h.getNumVersions()-1);
 
                     Node node = new Node(id, (int) hPrimitive1.getVersion());
 
-                    HistoryNode hNode = (HistoryNode) hPrimitive1;
+                    HistoryNode hNode = (HistoryNode) hPrimitive2;
                     node.setCoor(hNode.getCoords());
 
