Fix a bug in adding seeds.

- if the newly added vertices are actually reused ones, then they are
not used as seeds.