Yes, TeTpaAka is right. Long story short, what you see here is basically unfinished business.
I am to blame here, because I motivated others to change the way how raillike (like rails) nodes connect. This is related to my (still unmerged) work on gunpowder trails, which are also “raillike”. Without this change, it would not be possible to cleanly seperate gunpowder trails from rails (and possibly other raillike nodes).
A detailed description is in TeTpaAka's link.
To fix this problem described by Kilarin, we have to wait for two events to happen:
1) This gets merged into minetest_game:
https://github.com/minetest/minetest_game/pull/4482) After that, the Carts mod must be updated to use the correct connect_to_raillike group. However, I am not sure if PilzAdam develops for latest stable or if PilzAdam develops for bleeding edge, or even both?