How do I make my matinee loop perfectly?

I am attempting to make a train run infinitely down a track using a matinee loop. However, as seen in the video below, when the matinee comes to an end the train actor slowly comes to a stop before starting up again when the loop triggers. How do I make this matinee loop perfectly, so that the train will appear to be running smoothly forever.

Problem: - YouTube am attempting to make

Select the key frames of Movement track > right click > Interp Mode > Linear. See if it works as you like.

Amazing, that works perfect! Thanks for the help!