Made some things related to team profiles work better.