Fixed possible bug in TreeDynParam when using fakeBaseLink