Fix "1 day skipped" bug