Move setMaxVisitedTime out of setCurrentRail.
Rebuild mejs.