bugfix: don't use array2py unless array is 1d or supports strides for 1d indexing