Fixed datepicker default dates depending on the context. Also set upper year bounds to 5 yrs in the future.