Tweak an edge case in line number handling.