Fix bugs with pages that are to be published.