Edges with ID 0 break the logic of master/reverse edges. Those are mostly in @TestAtlas tests, and need to be cleaned up.
Example issue that needed a workaround:
https://github.com/osmlab/atlas/pull/251/files/949f93717fb33c668cd171378908120a585740f6#diff-86c0d01cf7dc9d477f4b732038c0de8bR576