Added a begin/rescue on the piece of code that picked out the activity dates for the date filters.
Added a begin/rescue on the piece of code that picked out the activity dates for the date filters.

DFID/devtracker-from-api,DFID/devtracker-from-api,DFID/devtracker-from-api,DFID/devtracker-from-api,DFID/devtracker-from-api