Issue with grabbing a value from a table, Which should be valid

I want to be able to grab a value from the table, Called SelectedMaps
The issue is that there is an error, in which it completely fails to grab the table index

Code - Pastebin
Console output from

for i,v in pairs(MapVoting.VotingPanels:GetChildren()) do
issue

I currently have most of the maps commented out since they aren’t able to be used(Missing a script).

nevermind, I’m dumb. Added an extra check to see what was being checked - 3 isn’t on a table with 1 index apperently .-.