added condition an item can't be related to itself