Fixed bug in ShoppingCart's add method