Fixed bug in oai listrecords.