Ensure parent document set on criteria for scoped creation.

[ fix #3347 ]