Only update the index for the current component
Merge pull request #1808 from ahocevar/modify-multi

Modify interaction allows vertices to be added where they shouldn't be