Only remove duplicates, not all headers. D'oh.

Fixes issue #10