StoreWAL: Fix #237, assertion fails with archived records