The NaN check should only use lastgdes when following a STACK -- Scott Mace <smace...