Fixed issue with the Ticket Number type casting