Assert for rows affected when deleting