I reckon the SET CONSTRAINTS wasn't working for some reason, then.