Comment 5 for bug 524424

Need to work more with more test cases, it fails with some other cases.

Root is O2M reltions.

Thanks.