fixed 1.1 to 1.2 upgrade for big document ids