fixed bug with elasticsearch filters