Made the snapshot_nodes_by_block_id_ not assume the snapshot nodes are ordered by version.