Also in cursor_set, check the current page (if already set from before) before starting over again from the root.