Fix inability to rename components

+ Fixes issue #1989 on the official buggenie issue tracker
Merge pull request #192 from keelerm84/issue-1989-cannot-rename-components-master

Fix inability to rename components