Critical fix in native vector encoding.

Signed-off-by: Patrick Dinklage <pdinklag@googlemail.com>