def filter_choices_to_render(self, selected_choices):
        self.choices.queryset = self.choices.queryset.filter(
            pk__in=[c for c in selected_choices if c]
        )
Filter out un-selected choices if choices is a QuerySet.
dataset/ETHPy150Open yourlabs/django-autocomplete-light/src/dal/widgets.py/QuerySetSelectMixin.filter_choices_to_render