Small efficiency optimization in geo traversal logic.