Fixed segfault when undoing the first call of a trigger
Fixed segfault when undoing the first call of a trigger

idupree/Lasercake,elidupree/Lasercake,idupree/Lasercake,idupree/Lasercake,elidupree/Lasercake,elidupree/Lasercake,idupree/Lasercake,elidupree/Lasercake,elidupree/Lasercake,idupree/Lasercake,elidupree/Lasercake,idupree/Lasercake,idupree/Lasercake,elidupree/Lasercake