Fix error in sensor-emu that drops first two samples