Fixed a logic bug that prevented memory savings.

The tests that prevented saving log lines in memory were buggy,
preventing the --print-no-* options from saving memory like they
should.