Fixed bug in InputSelectionCommand. Parameter length was incorrect.