Material Attributes + If statements - How to switch material attribute based on world height?

Ahh, what a beauty!

I copied it and ended up with this:
image
HeightBlend collapse as this:


And this is the end result:

Thanks for the help!