Fixed generation of vectors.

Previously, trying to generate a vector would always return a sequence.