apparently R:insert* was supposed to return something

so here, it now returns the value's default if the index is out of
bounds