on disabling theme there is empty record on branding and theme as we cannot replace it with any, and defaulting it to ServiceNow default theme.