Made ensure_arraymode() also work when table.uints is an object instead of an array (no matter the arraymode property)