Changed accepted Elastica Query type to the high-level Query class.