Remove empty links from some headings.