Fix bug processing lines with wrong number of fields