More efficient querying for team details