Fixed bug with the way I was accessing thumbnail array