fix boolean filter