apply fix for change in ESQuery

@emord