Original code assumed that all string objects in the format of a UUID were associated with a UUID data type. Replaced with UUID object check.