fix generic filter for boolean filter parameters