Fix array subset operation
Merge branch 'release/4.6'