Handle cases where a forecast item is null.

Fixes #153.
Merge pull request #155 from foghina/master

Handle cases where a forecast item is null.