[Ide] Fixed null reference exception reported via raygun.