SensorHistory with :period attribute crashes in simulator, not on real device.

This 2 lines:

var dur = new Time.Duration (60*60);
var iter = Toybox.SensorHistory.getPressureHistory({:period => dur});
crashes running watch face in simulator, but on real device it's working ok.
Error: Unhandled Exception
Exception: UnexpectedTypeException: Expected an object of type Time.Duration
Can you Garmin do something about that ?
Simulator version: 3.2.4