Make SubArray logical indexing handle low-dimensional cases