Both lastmod and lastmods resolve to 0 when unset, but only lastmods is a pointer. Fix comparison between apr_time_t and NULL.