Issue found with type() in pairs()

Calling type() from pairs() returns funky results
Testcases made to help show that
Debugging code included