Fix IsEdge test when points id is larger than maxid inserted.

Change-Id: I216f6646c173063ccc1e4b36f4af6899b240f335
Merge topic 'Fix_EdgeTable' into master

7ffa3173 Fix IsEdge test when points id is larger than maxid inserted.