Fixed workflow for sensor periods that exhibit gaps