EDX-554: Fix error when student training is not activated