Ensure that elasticsearch query doesn't brake with version 0.90.11. issue #86