Fix statistical data sets feature

Indexing occurs on publication, so the association with document series
needs to exist before publication.