Use `ConcreteRelatedModel.objects.get(bases__id=base.id)` here instead of comparing lists.