More rigorous number type checking in setArg: an array like [42] no longer interpreted as a number