Prevents crash when there is no data for a particular day