Fix type in 1+ optimizer.