Fix incorrect numeric type for command param, input index.