Fixed exception trying to convert to unicode when something is already in unicode