I have a route with a feeder line. The AI train is generated from a portal, passes 2 signals and comes two a switch. The train first passes the yellow signal and then stops at a red. The switch is thrown and the train gets a green. When the train is going over the switch, it is thrown under the train and derails it. I'm using trs2004 and a br004 signal. Does anyone know how to correct this? I have 2 other feeder tracks without any problems.