bug fix in search_predictNeedsExample
Merge pull request #429 from KaiWeiChang/master

bug fix in search_predictNeedsExample