Fix crash when there are no stations.