Fix ticket validation