Fix bug for nonexisting page number node.