A fix for the page rendering getting broken

site.pages.dup did not work for me, pages were not rendering
afterwards. With the recursive dup it works.