Fix bug where all scheduled observations are contiguous.