Fix a bug when the filter value is "0"