fix elastic search connector query when empty filter is used