bug fix in exclude filter.