Cleanup row creation/update logic.