Aha! A good question. It turns out that ZipPackage always returns 'true' for .Listed.
So I hardcoded true in the bit which passes listed to the view and removed this test.