Silly typo Date converted without getting valueOf