[IMP] base/ir/ir_sequence : New subsequences for date ranges and convert to new api

Why? What's wrong with `if not seq_ids`?