Updated to support enterprise invitations in user delete