Use delete flag instead of deleting row

Instead of deleting a row, the dll will set a delete flag on an object.