Index: applications/editors/josm/plugins/routes/src/org/openstreetmap/josm/plugins/routes/RouteDefinition.java
===================================================================
--- applications/editors/josm/plugins/routes/src/org/openstreetmap/josm/plugins/routes/RouteDefinition.java	(revision 30738)
+++ applications/editors/josm/plugins/routes/src/org/openstreetmap/josm/plugins/routes/RouteDefinition.java	(revision 31586)
@@ -20,5 +20,5 @@
         this.index = index;
         try {
-            match = SearchCompiler.compile(expression, false, false);
+            match = SearchCompiler.compile(expression);
         } catch (ParseError e) {
             match = new SearchCompiler.Never();
