Fix invalid frontmatter.