core: fix crash if requesting 'is_published_date' property from recently deleted resource.