Function 'ds.subset' amended.