Fix relative_neighborhood_graph issue with all-zero rows