prevent node from referencing itself as neighbor