Added condition for incident creation.