Fix anonymous receiving for teams

fixes #2951.