The last fix to sweep rate was wrong, fixed that

(Really) fixed sweep_rate_and_trap_study to reset after a successful run