Core/Tickets: Fix crash in TicketMgr::ResetTickets()