Fix bug on nearest-neighbor spawn searching that totally broke it.