[fix] Empty trigger type causes exception.