fixed warning in ddply where I was subsetting a date on a vector of dates