Changes the PagesRepository validation to all mutliple pages with the
same name.