Addressing fork(): now prevent double submission of activities.