Fix invalid metadata section detection.
Docs