Fixes some NcArray issues