Fixes issue with form parents and adds tests

Closes #3291180

Merge request reports

Loading