diff --git a/src/registrar/management/commands/populate_requested_suborg.py b/src/registrar/management/commands/populate_requested_suborg.py index e33a93e42..e65ed3f53 100644 --- a/src/registrar/management/commands/populate_requested_suborg.py +++ b/src/registrar/management/commands/populate_requested_suborg.py @@ -19,7 +19,7 @@ class Command(BaseCommand, PopulateScriptTemplate): def custom_filter(self, records): """Exclude domain requests that have the same org name as the portfolio""" - return records.exclude(organization_name=F("portfolio__organization_name")) + return records.exclude(organization_name__iexact=F("portfolio__organization_name")) def update_record(self, record: DomainRequest): """Adds data to requested_suborganization, suborganization_city, and suborganization_state_territory."""