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

...pes

signed-off-by: Jakub Wieczorek <jakub.wieczorek@neotechnology.com>