Fix an error in BlockNesting