diff --git a/lib/SimpleSAML/XHTML/IdPDisco.php b/lib/SimpleSAML/XHTML/IdPDisco.php
index afaf1a750a4f50c1c8b6f96e32769cebf2734d6a..f01e7f4d80bf67d047a59755dc24ecf9837b9b4a 100644
--- a/lib/SimpleSAML/XHTML/IdPDisco.php
+++ b/lib/SimpleSAML/XHTML/IdPDisco.php
@@ -493,7 +493,7 @@ class SimpleSAML_XHTML_IdPDisco
      *
      * @return array An associative array containing metadata for the IdPs that were not filtered out.
      */
-    protected function filter($list)
+    protected function filterList($list)
     {
         foreach ($list as $entity => $metadata) {
             if (array_key_exists('hide.from.discovery', $metadata) && $metadata['hide.from.discovery'] === true) {
@@ -542,7 +542,7 @@ class SimpleSAML_XHTML_IdPDisco
 
         // no choice made. Show discovery service page
         $idpList = $this->getIdPList();
-        $idpList = $this->filter($idpList);
+        $idpList = $this->filterList($idpList);
         $preferredIdP = $this->getRecommendedIdP();
 
         $idpintersection = array_intersect(array_keys($idpList), $this->getScopedIDPList());
diff --git a/modules/discopower/lib/PowerIdPDisco.php b/modules/discopower/lib/PowerIdPDisco.php
index 44f481352319686f08e218d7696dca1a07394626..26c4efd496ea4cb3d680327c781695b9364f138f 100644
--- a/modules/discopower/lib/PowerIdPDisco.php
+++ b/modules/discopower/lib/PowerIdPDisco.php
@@ -144,6 +144,7 @@ class sspmod_discopower_PowerIdPDisco extends SimpleSAML_XHTML_IdPDisco {
 	}
 	
 	protected function filterList($list) {
+		parent::filterList($list);
 		
 		try {
 			$spmd = $this->metadata->getMetaData($this->spEntityId, 'saml20-sp-remote');