Fix lazy read bug.

Input sequences were not actually read lazily! I added a test and caught
it, so I fixed it also.