[FIX] incorrect boundary when decide whether user can delete team member