Fix GVN on Duetto when the type is changing

This happens with unions