This is behavior that used to work in 1.3.8 and has been broken in 1.3.9. The fix is simple; in includes/classes/shopping_cart.php, above line 1535, add

if ($_POST['cart_quantity'][$i] == '') {
$_POST['cart_quantity'][$i] = 0;
}

Scott