Improvement to the vextype being undefined.  Postpone the check
until after all the data has been processed in order to guard against
the possibility of the vextype being defined but set to null.