histval + stoch_simul(periods=...) + forecast gives wrong result
If there is a histval block, followed by stoch_simul using empirical simulations ("periods" option), then the information provided by histval is lost (the "oo_.endo_simul" structure, which contains the histval information, is completely rewritten).
A subsequent forecast command wrong results, since it will not use histval as starting point.