Fixed problem causing bot to not run over multiple days