Add UnclaimTicket and some checks to ClaimTicket.