modify SimilarPagesNode class to allow duplicate slugs