fixes #2316 Unnecessary warning when creating relationship for a content...

...let

Fixed the issue, pushed the code for review, please check it.