Add invalid ticket parse detection