Fix issues (assert or uninit var, hang) with check_min_rate and offloading