Improve logic for rolling over projects.

If cron doesn't run for some reason, the next time it runs we want it to
pick up missed projects