Fixed bug recently introduced to Topiarist when improving it's circular

dependency detection -- will add unit tests around this when it's merged
upstream into the 'topiarist' project.