Fix begin/end -> first/last missed in initial edit.