Handle cases where a forecast item is null.

Fixes #153.