Changed the GetTotalsByTeam query in CommentRepository.