fix OPM ES query
Merge pull request #4207 from dimagi/opm-query

fix OPM ES query