Fix BB overflow in WAL store