What if the foreign key changed, but affected_rows is 0?