Skip spikes if NaNs are encountered in alignment