BF - prevent a TypeError for lists of vertices