Addressed problem with distinct docIds in Preparator.