Added checking for negative quantity on cart update

Negative quantity should be considered as removing the item from the cart.