Single mode check if options.date is array

Check in single mode if options.date is array with more than one date and take first if so.
Use Array constructor check rather than length.
Merge pull request #35 from gitlost/no-nan-multiple-dates

Single mode check if options.date is array (take first element of array)