In AutoSplitVector/SplitVector commands we should check if the maxChunkSize input parameter is negative before to convert the value to MiB (shift left << 20).
We already tried to fix this in SERVER-62205 but we added the sanity check only after the shift operation, thus we simply need to move the check before the shift operation.