Fixed incorrect trigger comparisons