proposed fix for heroku scheduler issue