Fixes addComponent task

to when the parent component already contains child components.