Remove unused filter code