fix bug causing triggers to show as hidden nodes when include_triggers=False

recently introduced by refactor