Fixes the journal logic.