'Filter out un-selected choices if choices is a QuerySet.'

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])
