Fix for log recovery assertion.