fix: disallow circular insertion.