Enhancing the Account model delete operation