Cursor not selecting the correct vertex
If anyone else was having the same trouble, I solved the problem by changing the viewport shading from solid to wireframe and it let me select vertices accurately.