Correct issue with Scheduler - could get mode wrong if Python events fire