No. You want to pass the index of the first element in a hole, not the last one.