[#43328167] Fixed a bug where annotate() clause on the queryset was conflicting with node_count model field.