Avoid two different conditions for “out of neighborhood” checks