Index: trunk/src/org/openstreetmap/josm/actions/SelectByInternalPointAction.java
===================================================================
--- trunk/src/org/openstreetmap/josm/actions/SelectByInternalPointAction.java	(revision 8113)
+++ trunk/src/org/openstreetmap/josm/actions/SelectByInternalPointAction.java	(revision 8114)
@@ -20,14 +20,16 @@
 
 /**
- * This allows to select a polygon/multipolgon by an internal point.
+ * This allows to select a polygon/multipolygon by an internal point.
+ * @since 7144
  */
 public class SelectByInternalPointAction extends JosmAction {
 
     /**
-     * Returns the surrounding polygons/multipolgons
+     * Returns the surrounding polygons/multipolygons
      * ordered by their area size (from small to large)
      * which contain the internal point.
      *
      * @param internalPoint the internal point.
+     * @return the surrounding polygons/multipolygons
      */
     public static Collection<OsmPrimitive> getSurroundingObjects(EastNorth internalPoint) {
@@ -39,5 +41,5 @@
         final TreeMap<Double, OsmPrimitive> found = new TreeMap<>();
         for (Way w : ds.getWays()) {
-            if (w.isUsable() && w.isClosed()) {
+            if (w.isUsable() && w.isClosed() && w.isSelectable()) {
                 if (Geometry.nodeInsidePolygon(n, w.getNodes())) {
                     found.put(Geometry.closedWayArea(w), w);
@@ -68,7 +70,8 @@
 
     /**
-     * Returns the smallest surrounding polygon/multipolgon which contains the internal point.
+     * Returns the smallest surrounding polygon/multipolygon which contains the internal point.
      *
      * @param internalPoint the internal point.
+     * @return the smallest surrounding polygon/multipolygon
      */
     public static OsmPrimitive getSmallestSurroundingObject(EastNorth internalPoint) {
