Simplify the code

Use the exception handler when the column position is not found and
drop the row counter, since we are using an iterator and we really don't
need it.