Simplify SubArray logical indexing test