It worked. So it should take in account each set of quads instead of each set of indices for storing the indices.
And yeah, the setting the vertex buffer to null is a typo, I was experimenting with vertex buffers previously since it was taking Vector4 as position to process inside the shader, and it had to be Vertex3, but I thought it could be related to the vertex buffer.
Thank you.