fixed up elastic search query wth a little hack