return found boxes after traversing the children

Signed-off-by: Florian Thienel <florian@thienel.org>
diff --git a/org.eclipse.vex.core/src/org/eclipse/vex/core/internal/cursor/ContentTopology.java b/org.eclipse.vex.core/src/org/eclipse/vex/core/internal/cursor/ContentTopology.java
index ff588ef..a77b127 100644
--- a/org.eclipse.vex.core/src/org/eclipse/vex/core/internal/cursor/ContentTopology.java
+++ b/org.eclipse.vex.core/src/org/eclipse/vex/core/internal/cursor/ContentTopology.java
@@ -200,7 +200,7 @@
 			public Collection<IContentBox> visit(final StructuralNodeReference box) {
 				if (node == box.getNode()) {
 					boxesForNode.add(box);
-					return boxesForNode;
+					return null;
 				}
 				if (box.getStartOffset() > node.getEndOffset()) {
 					return boxesForNode;
@@ -208,21 +208,23 @@
 				if (!box.getRange().intersects(node.getRange())) {
 					return null;
 				}
-				return super.visit(box);
+				super.visit(box);
+				return boxesForNode;
 			}
 
 			@Override
 			public Collection<IContentBox> visit(final InlineNodeReference box) {
+				if (node == box.getNode()) {
+					boxesForNode.add(box);
+				}
 				if (box.getStartOffset() > node.getEndOffset()) {
 					return boxesForNode;
 				}
 				if (!box.getRange().intersects(node.getRange())) {
 					return null;
 				}
-				if (node == box.getNode()) {
-					boxesForNode.add(box);
-				}
-				return super.visit(box);
+				super.visit(box);
+				return boxesForNode;
 			}
 		});
 	}