elasticQuery minor fix