Add trap on index -1 for the array-like