[PATCH 5.4 046/123] team: add missing attribute validation for array index