FixRiskyIntervals function

New primary cells to fix risky intervals