Fixed criarBlocos() passing a cursor instead of an Array