Remove unneeded filters.