Fixed crash when typing "" (null) as command.