Fix empty header line detection for non-string input (eg. empty address arrays)