Fix WPrime CP lookup SEGV

.. when zones or cp not set for the date in question

Fixes #774.