Fix quantities subtraction