Bugfixes
#FIX: No longer allowing closed parent-child loops or self-references. Fixes issue #110