fixed bug with cart items not in sync with popup

wrong cart items were being unchecked due to a bug in the sync of the
popup cart and results cart