Wrap also term.title in safe_unicode and remove check for isinstance of unicode after latest discussions in changeset bb4388