BF - prevent a TypeError for lists of vertices

Version of #1840 targeting v1.2.x.