made the check_copy_relations check a bit smarter by taking superclasses in account

fixes #1723
Merge pull request #1724 from piquadrat/feature/fix-1723

made the check_copy_relations check a bit smarter by taking superclasses in account