Remove the copy/paste error on the menu item array.
Add in the necessary db_delete calls to remove the team and the assigned team members.