Fix duplicate chain::doFilter.