Fixed bug with identifying first row of CSV upload file