Per Instance Random not working on Material Layer

Huge thanks you saved me a lot of time with this post. This solution also works for ‘per instance custom data’ which allows for some pretty cool stuff.