Resolve duplication issue when adding children to a parent's collection #379

Resolves issue reported in #379