Thanks for the reply.
I came to the same conclusion.
Instead of just having the parameter "material" I have split it up onto "material1", "material2" & "material3".
It seems crazy to have to do this but it is effective all the same.
Cheers for having a look.