Workaround for Misfit API bug where behavior of end dates is inconsistent

Sometimes the misfit API includes data for the end date, sometimes not. Work around it during chunkify and then deduplicate the data before saving it.

@brad Please check.