Fix null post number issue.