Fix minor Ch. 10 exercise issues