Debugged delete contact functionality