Adding a filter to remove bad keys from temperature data