Removing unnessecary code, nextLeafPage has already been set.