components are reassigned correctly, including index refs - fixes #406
Merge pull request #517 from RactiveJS/gh-406

components are reassigned correctly, including index refs - fixes #406