Inez and I spoke and agreed to revisit the logic of determining if an item is in the cart until the cart model is a little more stable (once temporary file handling is completely figured out).