Correct train direction command