Remove reference to objects that are not in the urdf file.