Fix the bugs to import nodes if we have only one page