not your code, but this would probably be a good bit faster if it was `set(f.id for f in FrozenAddon.objects.all())` since it's only being used with the `in` operator later on.