Add support to 64-bit ints to array select. Update tests.