BUG FIXES:
Fixed a crash that happens when a tainted instance state is seen without a valid status (#39287)
resource-identity: fixed an issue where resource identity could be nil during delete (#39285)