Yeah, i was thinking that too. In the case of my program, it would only be a minor inconvenience if one cannot access the object that gets deleted. It's not critical to the program's operation.
Thanks for all your help