Corrected vertex_adjacency recalculation.