Fixed critical bug with published date on post creation