fix #1266: should exclude dead edges
fix #1266: should exclude dead edges

manuzhang/incubator-gearpump,manuzhang/incubator-gearpump,manuzhang/incubator-gearpump,manuzhang/incubator-gearpump,manuzhang/incubator-gearpump