Fix bug that stopped switches being turned off by cron