Fixes bug in CommandBase.ExecuteAsync.