Default edge direction should be 0 not nil

This gets all tests passing