prevent dbref->map->to->datasetsequence->dbref-> type cycles