Fixed a bug where the ticket num was not edited when you deactivated a ticket type.