OAI RDF/XML encoding fix.
Fix for OAI ActiveRecord wrapper without table name in SQL.