fix ResultIterator.GetConfidence error.

I don't have vs2012，so I can't write unit test for this commit: (