Please move this filtering logic into a classmethod on `CertificateItem`