Bound checking in cleanup_adjacency()