Don't break when data contains null values - by @symroe: https://github.com/premasagar/tim/pull/13