Fix edges not being added in manage_schema

Fixes #788