No, it's supposed to work this way - the mesh counts the 'squares' between vertices, ie. a 1x1 mesh (a square) has 2x2 vertices (the four corners). Making it 1-based would be counterintuitive because a 4x4 mesh would have vertices up to 5 which might be confusing! Still, I guess it ought to be in vertices rather than squares.