That’s how it works. The UID will remain there cuz this is a design thing. If there’s no data, It is in fact deleted.
Things to notice in your post
You have deleted 0x382d0 and you are searching for 0x3d0cd, two different UIDs.
Maybe you thought that you could delete child nodes by deleting the parent? dunno, if so, that’s not possible like this.