Small bug in visnav special case

If there are no edges the use of unsigned int causes undesirable behavior when the vertex set is empty.