Index: trunk/scripts/SyncEditorLayerIndex.groovy
===================================================================
--- trunk/scripts/SyncEditorLayerIndex.groovy	(revision 11599)
+++ trunk/scripts/SyncEditorLayerIndex.groovy	(revision 11603)
@@ -424,5 +424,5 @@
                     }
                 }
-            }            
+            }
             def js = getShapes(j)
             if(js.size()) {
@@ -543,5 +543,6 @@
     static String getQuality(Object e) {
         if (e instanceof ImageryInfo) return e.isBestMarked() ? "eli-best" : null
-        return e.get("properties").get("best") ? "eli-best" : null
+        return (e.get("properties").containsKey("best")
+            && e.get("properties").getBoolean("best")) ? "eli-best" : null
     }
     static String getIcon(Object e) {
