#15 Check if the cursor has no rows and skip the save if so