You shouldn't have to re do that logic if you use the same cursor.