Fixing a team search bug.