dseries sub-samples beyond boudary
Currently, one obtains:
>> x=dseries((1:4)');
>> x(dates('2Y'):dates('5Y'))
ans is a dseries object:
| Variable_1
2Y | 2
3Y | 3
4Y | 4
Either it should return NaN for 5Y (my preference) or it should return an error. It is not a good idea to return an object that doesn't correspond to the user request.