Fix an assert in the gsharedvt code.