Added date subsetting.