[Compass-ci] [PATCH v2 compass-ci] lib/es-query: fix NoMethodError