Use target class' DocumentPersister when preparing referenceMany criteria

Closes #602