only access the child param if it exists.

@pzion : the following change avoids accessing a child param if it doesn't exist. 

The code didn't cause a crash for me, (I get the exceptions in Splice),but it is clearly wrong none the less.