Isaac Sim | OmniGraph | Read IMU node index out of bounds


We have an IMU sensor, and an OmniGraph node to read from the IMU, and later publish it to ROS2 using another node.
The read IMU node throws the following exception:

[Error] [omni.graph.core.plugin] /nakai_container/SensorsGraph/base_read_imu: Assertion raised in compute - index -1 is out of bounds for axis 0 with size 0
  File "/home/amram/.local/share/ov/pkg/isaac_sim-2022.2.0/exts/omni.isaac.sensor/omni/isaac/sensor/ogn/nodes/", line 79, in compute
    state.init_rot = readings[-1]["orientation"]

Though, the ROS2 topic does publish IMU messages fine afterwards.