Raise eval error if index out of range