Added missing emit spike event to OnCondition.