Correctly handle headers with the same name - where GitHub adds an incrementing integer to the end of the anchor