Bugfix: handle added edges correctly if src_index and tgt_index are in the wrong...