Bug Fix: duplicated headers are removed

While cleaning up branches, headers remain as duplicates.