Fix trigger conversion error. Thanks to Pierre Boizot for the report.