Fixed a bug with the creation of pregel result edges.