Reverse the logic on Command.IsValidCommand, looks normal now