Fix validation of imported csv files.
Merge pull request #6361 from openscholar/6054-fix-3.14

Fix validation of imported csv files.