Fixed bug when the senddate parameter was not set, we would send the entire datetime object as array instead of a formatted date