Fixed holes in the type inference code for vectors.