Solved a problem with naming duplicate incoming majority edges. Fixed #11.