Fixes bug in PbcoreDescDoc factory.