fixed looping and limiting based on couchdb

If the first date of the range for the cell is in couchdb already,
skip it completely by dropping it from the todo set.

running now, seems to work okay.

modified:   Rwork/monthloop.R