Fix various ANY conditions that aren't correctly being considered.
Add Pair.adjacents(Iterable); also clean up.