Guard against deletion of a parent domain

Change-Id: I72f5529af37941daa2f86c5f0d50373e5947727f