when checking for character type data, compare to either str or unicode

[FIXED] some Ensembl queries were failing because returned objects were unicode
    and not str. Now allow either.