Fix the null datePosted issue after saving Content