Fix for issue #85.
i. Change last-date and prev-date functions to return a vector of size 3 containing year, month and day and avoid the error: No item 2 in vector of length 2
ii. Update to not save the date on year and month selections to avoid invalid dates e.g. 31/Feb/2016
Fix for issue #85. i. Change last-date and prev-date functions to return a vector of size 3 containing year, month and day and avoid the error: No item 2 in vector of length 2 ii. Update to not save the date on year and month selections to avoid invalid dates e.g. 31/Feb/2016