Index: trunk/scripts/SyncEditorLayerIndex.java
===================================================================
--- trunk/scripts/SyncEditorLayerIndex.java	(revision 17453)
+++ trunk/scripts/SyncEditorLayerIndex.java	(revision 17454)
@@ -555,8 +555,8 @@
                         .replaceAll("(?i)HEIGHT=", "HEIGHT=")
                         .split("\\?");
-        String[] a = x[1].split("&");
-        Arrays.sort(a);
-        url = x[0]+"?"+String.join("&", a);
-        return url;
+        return x[0] +"?" + Arrays.stream(x[1].split("&"))
+                                 .filter(s -> !s.endsWith("=")) // filter empty params
+                                 .sorted()
+                                 .collect(Collectors.joining("&"));
     }
 
