DupFilter modification seems ok
Basic output filtering in place