Index: src/org/openstreetmap/josm/data/validation/tests/UnconnectedWays.java
===================================================================
--- src/org/openstreetmap/josm/data/validation/tests/UnconnectedWays.java	(revision 15353)
+++ src/org/openstreetmap/josm/data/validation/tests/UnconnectedWays.java	(working copy)
@@ -444,7 +444,7 @@
             if (visited != null) {
                 visited.add(node);
                 for (final Way way : node.getParentWays()) {
-                    if (isCandidate(way)) {
+                    if (way.isUsable() && isCandidate(way)) {
                         List<Node> nextNodes = new ArrayList<>();
                         int pos = way.getNodes().indexOf(node);
                         if (pos > 0) {
