Fix posts migration errors.