Changed the options params so the dateTo and dateFrom vars are set by iso strings before being converted to the Ole time