Fixed a bug during iteration reset of CompartmentProcess species