Ok, I took note of all your comments, I will fix these in the coming days.

As for this specific change (as well as in pairs()), I did encounter cases where table.uints was an object instead of an array.
I shall investigate further on the cause of this, thought.