I added the next frame at the recommendation of people upthread
The -1 was because I was storing the items in an array, and the array starts at 0 whereas my scene #s start at 1. So, I subtract one to get the array number. But the problem is that it's the being stored in the array as -1, not as 0.