Fix problem of docket ID assignment for documents in child dockets.