fix expression errors in x509 policy scrips when unparseable data is in certificate chain.