So you're taking an mia material, plugging it into a surface shader, then into a layered texture, then into another surface shader?
There are many issues with that. One is that it's overly complicated. Simply connect the two mia shaders into a mix node. Done.
Second is that I'm pretty sure it won't work with caustics. Gen would know more about that.
Imagination is more important than knowledge.