fixes #4737 null pointer exception after adding new relation content
Merge pull request #4887 from dotCMS/issue-4737-null-pointer-exception-after-adding-new-relation-content

fixes #4737 null pointer exception after adding new relation content