Only check basket quantity permissions if qty > 0

This allows removal of products in the basket if they are not in stock
by setting the quantity to 0