Fix for validate_cart