From the thread I referenced earlier, when using two of these sensors, you still need an external relay to arbitrate any conflicts (when one sensor says to raise gates while the other says to lower gates).
Thank you, Stan. Now, I see the issue. When the train has only activated one ITAD, the lights get up and down simultaneously.