Check length before checking if command.