Removing deuplicated headings