Allows team directory delation when deleting team