Fix bug in deterministic conditional forecast.

The type of the first shock was not set according to the user request.
Concretely, it would be random, and almost always a perfect foresight shock.