PageRow.flattenPages will try to preserve NoPage as much as possible for lookup