Fixed a minor bug in the command type.