Document number fixups