fix not-modified case when mod date on the resource is null