Fixed template issue for vectors of vectors