Fix cast None -> u'None'