Fixes #329
Merge pull request #345 from mswertz/subform_xref_default

Fixes #329 which is about default xref_to_parent in subform