Default edge direction should be 0 not nil

These gets all tests passing