RefExtract: avoid double encoding

* Avoids encoding string twice when calling get_recids_matching_query()
  from BibRank in RefExtract.

Signed-off-by: Jan Aage Lavik <jan.age.lavik@cern.ch>