fix bug in checkIsOrigin method in SearchEngine

fix bug in checkIsOrigin method in SearchEngine