Fixing regression when printing certain nested objects.