Added missing return statement from ElasticsearchSearchQuery.