Fixes a case where length of field is zero and thus can't be split and removed a redundant line.
Fixes a case where length of field is zero and thus can't be split.
This works for me but there might be some problems for cases I haven't seen. Please check and report back.
I already had removed the redundant line after doing the last PR. :)