Fixing import validation of CSV content.

#6054