Jim Cramer's been sour on Baidu (BIDU 1.42%) for more than a year, but that doesn't mean that you should follow suit.

"These Chinese stocks they've had a really big run," he said during Mad Money's lightning round on Tuesday. "I tell you to buy, and then the Communist party does something stupid and I look like I've got General Tso's chicken on my face. Let's hold off on that one."

It's not fair to hold Cramer to the sound bites he's slinging during his show's lightning round -- even that questionable General Tso's remark -- but his attitude has been largely negative in recent months. 

Four weeks ago he suggested that a caller cash out on Baidu, once again arguing that he's not fond of Chinese stocks.

"I'm not crazy about playing China with single stocks," he said when asked about China's leading search engine back in February, recommending an ETF that buys a basket of Chinese equities instead.

The problem, in retrospect, is that Baidu shares closed at $89.35 that day. It has gained 63% since then through yesterday's close, and the stock hit a new 52-week high today.

Being bearish on Baidu may have paid off last year, but it's been a bad call in 2013. Let's go over some of the days when Cramer nixed Baidu during Mad Money's speedy call-in round.

Call DateClose
Sept. 7, 2012 $109.59
Nov. 28, 2012 $95.81
Feb. 27, 2013 $89.35
March 27, 2013 $88.13
Aug. 22, 2013 $139.54
Sept. 17, 2013 $143.81

Sources: CNBC and Wall St. Cheat Sheet.

It's easy to see why investors began to get nervous last year. Qihoo 360 (QIHU.DL) introduced a new search engine, and its juicy position as the company behind China's most popular Web browser and online security software helped it become an overnight success. A year later, Qihoo 360 is up to roughly 15% of the market by some counts. That's an impressive rookie season. However, most -- but not all -- of those gains have come at the expense of smaller search engine alternatives. 

There was speculation earlier this summer that Qihoo 360 would snap up Sohu.com's Sogou, a move that would combine the country's second- and third-largest engines to form a platform that would command nearly a quarter of the country's search queries. However, that plan was upended when gaming and chat leader Tencent acquired a substantial stake in Sogou this week. 

Either way, it's not as if Baidu's growth has stalled under Qihoo 360's challenge. Revenue climbed 39% in its latest quarter, and Baidu's targeting revenue growth to accelerate to a 40% to 43% rate in the current quarter. Baidu's trading at less than 24 times next year's projected earnings. That's not cheap, but it's certainly more than reasonable given its growth. 

Cramer is certainly correct about the threat of China's restrictive government. It has kept China's Internet on a tight leash, and you never know when it will pull back some more. However, investors that have stayed away from Baidu since it went public eight years ago at a split-adjusted price of $2.70 have missed out on one of tech's biggest winners in that time.

Baidu's made investors rich by scaling this Great Wall of worry, and my apologies if that reference is just as questionable as Cramer bringing up a chicken dish.