Fix typos in comments

Closes #1950