Handle poorly defined legacy sensor data.

And log duff sensor data when it fails validation.
Fixes according to @sw1nn's comments
Merge pull request #503 from MastodonC/feature/fix-more-robust-sensor-deletes

More robust sensor deletes