Add missing check for the first header lines.