Add SeqGetRange
Fix: call diff generation before config cleanup