Cross-relation inherite bug fixed