Fix/exclude headings from checks to get consistent errors.

I can add extra test cases if that's a concern.

EDIT: This is still a WIP, my solution is actually broken... and I'd love feedback.