Fix DocIDMapper bug