Fixed a possible issue with trains.
Merge branch 'master' of https://github.com/Jordi1990/Containing-2013