Fixed #21019 force_text fails on class object with __unicode__ instance method