Fixed corner case regarding cycles in recursion of
Strings.toString(Object).