UUIDs are strings.  That means that == will return true only if each
string is pointing to the same underlying object (likely true because
of string interning, but not guaranteed).  Use .equals instead.