Fix alphanumeric only commands being accepted