fixes next_scan bug when adapting spectrum_id