Only apply Inverse=true if child has a reference to parent
Acceptance test for Issue_31
Merge pull request #32 from Particular/Issue_31

Only apply Inverse=true if child has a reference to parent, fixes #31