Fix indentation of elasticsearch query code
Fix syntax error