Need help with cloning physics components

Hi,

In a pythonscript I use the function app.cloneComponent to clone a physics feeder and a physics conveyor. In the same script I also connect them via app.connectComponents. These methods works the first time I start the simulation. However, If I reset the sim and start it again the conveyor breaks and components from the feeder fall through the conveyor. What am I possible doing wrong?