fixed an issue previewing a survey spanning multiple pages and with parent-child items in different pages