Fixed stack security group filter to return a queryset instead of a list