Fixed an issue where a published post could have published_at be nil.