Updated KWIC class logic and return types for add and remove filters.