Fixed #22460 -- Explicity remove constraints when dropping a related field.