In all games I play it seems like my trains are not doing scheduled maintenance at all even though they are scheduled to do so every 150 days. This only happens to my trains i.e. it works fine for planes, road vehicles and ships.
I usually have path signals on my tracks - but it does not seem to differ if I have a path signal in front of the depot or not.
Am I missing something specific to trains regarding the maintenance? Can they use any depot or are they bound to specific ones?
Update: I made a minimal reproduction of my issue and it seems that the train stops doing maintenance when I put the path signal as on the image below (removing the signal and the train immediately goes to the depot). But I am not sure why that signal prevents the maintenance?