Corrected the insertRange call.