Fixing the calculation of _lastSyncedJournal and _lastSyncedPage