[FIX] base: missing case where rate_ids is empty