Make forest idempotent