Fixed possible crash when converting pac to ttml - thx Dan :)