Fixed typos from PR #1979 that were accidentally merged in.

Fixed typos, hopefully this one isn't nearly as stupid. Sorry again about the last one.