Fix crash when changing a resource description.