Fix bug when processing header row (fixes #20)