fixed bug that caused a crash if a LAR or pointing anomaly occurred very close to the end of the input series.