fix: instantiates Edge when handling dicts in delete_edges