Do not check relationship uniqueness for relationships with different types

signed-off-by: Jakub Wieczorek <jakub.wieczorek@neotechnology.com>
Merge pull request #2723 from boggle/2.1-maint

Do not check relationship uniqueness for relationships with different ty...