Fix error when no team (seen in error report)