#699 debug queryset