Minor changes to random AI for rail issue