Hello,

Be carreful, you are creating a note at the same time you delete the node.
Also, please consider change amienty to disused:amienty instead. It allows to keep history of nodes, know that there is a vacant place here, etc.

Thanks, for the update.