ImportInstance.SetObjectStyle not changing color of layer like it's supposed to

I have a script I’m using that works well for the most part. It takes imported CAD’s layers, and changes the projectionWeight and color and changes them based on my script’s inputs. Most of the layers work. However, there are a few that don’t. The node cluster below is exactly like the layers that DO work. Text matches with the layer name. Has anybody run into this before?

image