Fix infinite loop

Forgot to augment the counter otherwise an infinite loop occurs.
Just happened to get an export where the lines did not have the appropriate same amount of cols / row.
Where an infinite loop incurred.