Fix a bug introduced in v1.53.0 where an unnecessary query could be performed when fetching bundled aggregations for threads.