Fix nested item clear problem