Added support for inserting data into multiple intervals with a single
call to `insert()`