Fixing lastProcessedJournalPage calculation