Fixed job enqueuing for training.