Ticket validation fix