Don't pass an empty filter to elasticsearch