Force a string type for comparison to prevent false positives when the name is unset (resulting in a nil value).