Remove support for python scalars in idx_list.