StoreWAL: fix log verification, see #359