Fixed bug which resulted in empty rows (,,,,,)