Fix issue with ticket type when updating tickets.
Move user data to the anonymous user when deleting users.