Fixed a title and slug bug for Pages.