Fix elasticsearch filters