[PATCH 5.5 057/151] team: add missing attribute validation for array index