Fix for getting The header contains duplicate names when the column names are empty.

Hello,
  here a tiny fix for the header name parsing, when several header columns are empty.