Fixing a potential bug where you could not add products to shopping cart