e.buckets[Symbol.iterator] is not a function


I’ve upgraded to version 7.0.0 and noticed that a type of query in Elastic search returns an error.

So this is the response I used to get with v.6.7.3.


And now with v.7.0.0:

The only way I get it working is if I group it at the end by date histogram, something I don’t want. What can I do to be able to retrieve the same information with Grafana 7?

Thank you!