Help! There's a problem with creating different colors for thin instances using node materials

This is the playground link :

This is the node material that I created: (1.6 KB)
When I changed the instance_id parameter to 1, there was a problem with the effect.

It is the noise when judging isEqual between float 1.0000 and int 1.


Thank you very much for your help!