fix field search
diff --git a/core/plugins/org.eclipse.dltk.core/search/org/eclipse/dltk/core/search/matching/MatchLocator.java b/core/plugins/org.eclipse.dltk.core/search/org/eclipse/dltk/core/search/matching/MatchLocator.java
index 30c4a22..2fd303a 100644
--- a/core/plugins/org.eclipse.dltk.core/search/org/eclipse/dltk/core/search/matching/MatchLocator.java
+++ b/core/plugins/org.eclipse.dltk.core/search/org/eclipse/dltk/core/search/matching/MatchLocator.java
@@ -523,9 +523,9 @@
 	protected IField createFieldHandle(String simpleTypeName) {
 		Openable openable = this.currentPossibleMatch.openable;
 		IField field;
-		if (openable instanceof SourceModule)
+		if (openable instanceof SourceModule) {
 			field = ((SourceModule) openable).getField(simpleTypeName);
-		if (openable instanceof ExternalSourceModule) {
+		} else if (openable instanceof ExternalSourceModule) {
 			field = ((ExternalSourceModule) openable).getField(simpleTypeName);
 		} else {
 			field = null;