Odd case where oldLines[?].length didn't exist, so return a length of 0 if there is no length.
This pull request passes (merged 3d1a0b7 into bdc9422).
Do you have the case for when this causes an error? I'd like to add a test case for this before fixing.