Function 'ds.subset' and its helper amended.