Fixed a bug with adding comments.