Only output the first line when header fails to match expectations