Fixed "undefined" error when no trains forecast.