Check for null when comparing value and reduction

While reducing processed_people, check that the current value is not
null before trying to compare the value’s datetime with the reduction’s
datetime. Otherwise, an exception is thrown.

Fixes #14.