Smart ass validation of array index.