Correction of a bug in vector wrapping.