CSV parings update

Changes the "header only" error check in the CSV parsing function to
avoid a posisble bug.

Signed-off-by: shanesuofi <shanes@vandals.uidaho.edu>