Correct minor bug in checking parameters for the new commands