assertion error in reorg with empty DB