Protect a parent record from deletion when it has specified child records