Ref #290, updates some logic to handle periods being removed and not just cohorts removed from periods.