Correcting another bug

The one that appears when multiple modes are to be updated on restart