Fix bug with team assignation on project from #4109