diff --git a/evaluate.py b/evaluate.py
index 7c77feefba036f48c72484a7753174220a108b2f..39d510d93a86e457aba356ce88f2b981583516fd 100755
--- a/evaluate.py
+++ b/evaluate.py
@@ -113,7 +113,7 @@ def print_summary(frequencies, neighborhood, light_print=False, file_pointer=sys
             if len(neighborhood[node]) != 2:
                 neighborhood_ok = False
 
-        if light_print and (obs==the or not neighborhood_ok):
+        if light_print and obs==the and neighborhood_ok:
             continue
 
         print(result, file=file_pointer)