utils.IsValidUUIDString fix

Fixed code that depended on a bug in utils.IsValidUUIDString