So I\'m trying to format a result into a query and getting an index error that doesn\'t make sense. I test that the indexes exist in the result,
last_inse