[PATCH 4.14 25/99] team: add missing attribute validation for array index