"Fix delete node function"