Fixing string rep of object, which was breaking on Nonetype.