diff --git a/module/VuFind/src/VuFind/ILS/Driver/VoyagerRestful.php b/module/VuFind/src/VuFind/ILS/Driver/VoyagerRestful.php
index a2149126daf4851f48b71b84d07dd80c109377bd..bf1a71dc024b1b49bb8d6ed2cd012cfe55584c2d 100644
--- a/module/VuFind/src/VuFind/ILS/Driver/VoyagerRestful.php
+++ b/module/VuFind/src/VuFind/ILS/Driver/VoyagerRestful.php
@@ -2224,7 +2224,7 @@ EOT;
         if (isset($results->holds->institution)) {
             foreach ($results->holds->institution as $institution) {
                 // Only take remote holds
-                if ($this->isLocalInst($institution)) {
+                if ($this->isLocalInst((string)$institution->attributes()->id)) {
                     continue;
                 }