Fixed a bug in the scheduler module that leads to multiple zones running at once.