Fix typos suggested by PR #477 - H/T Karan Misra