Fix bug in incremental mode that prevent reindexing a previous day. Thanks to Martin Prochazka for the great help.