Fix nested set depth