Fix off-by-one error when concatenating ranges when doing a partial update.