Fix bug where no (more) lines were loaded despite there being more

@torhve, you introduced this check in ad68e32c0826031bf6297b05c57fd4d3e92794b1 and I'm wondering if there is a legitimate case that is caught by the first condition but not the second one.