Fixed duplicate cart items, closes #345