Attempted to access index -1 from array despite validation

The Get node is evaluated multiple times. And with it the Last Index. So if you change the array between evaluations you may end up accessing indices that are suddenly no longer valid. Last Index returns -1 if the array is empty.