Reduce number of SQL queries on team detail page
Upgrade debug toolbar